package com.itplh.modules.shirorealm.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: tanpeng
 * @Date: 2019-07-11 11:42
 * @Version: V1.0
 */
@RestController
@RequestMapping("/shirorealm/guest")
public class GuestController{

    @GetMapping(value = "/enter")
    public String login() {
        return "欢迎进入，您的身份是游客";
    }

    @GetMapping(value = "/getMessage")
    public String submitLogin() {
        return "您拥有获得该接口的信息的权限！";
    }
}
